package com.tms.operation.mapper;

import java.util.List;
import com.tms.operation.domain.TmsReceipt;

/**
 * 签收单Mapper接口
 * 
 * @author ruoyi
 * @date 2024-10-28
 */
public interface TmsReceiptMapper 
{
    /**
     * 查询签收单
     * 
     * @param id 签收单主键
     * @return 签收单
     */
    public TmsReceipt selectTmsReceiptById(Long id);

    /**
     * 查询签收单列表
     * 
     * @param tmsReceipt 签收单
     * @return 签收单集合
     */
    public List<TmsReceipt> selectTmsReceiptList(TmsReceipt tmsReceipt);

    /**
     * 新增签收单
     * 
     * @param tmsReceipt 签收单
     * @return 结果
     */
    public int insertTmsReceipt(TmsReceipt tmsReceipt);

    /**
     * 修改签收单
     * 
     * @param tmsReceipt 签收单
     * @return 结果
     */
    public int updateTmsReceipt(TmsReceipt tmsReceipt);

    /**
     * 删除签收单
     * 
     * @param id 签收单主键
     * @return 结果
     */
    public int deleteTmsReceiptById(Long id);

    /**
     * 批量删除签收单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTmsReceiptByIds(Long[] ids);
}
